/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package cz.muni.fi.pb138.XmlDataBase;

import java.util.Set;
import org.w3c.dom.Document;
import org.w3c.dom.Element;

/**
 *
 * @author Viktor
 * 
 * This class gives help methods for work with movies in database
 */
interface MovieManger {
    
    /**
     * Create new Movie element, that can be append to DOM document
     * @param movie = movie to create
     * @param doc = Document, where create the movie
     * @return Element of type movie
     * @throws NullPointerException 
     */
    public Element createMovie(Movie movie,Document doc) throws NullPointerException;
    
}
